<extend name="Public/base"/>
<block name="body">
  <div>出行人数:{$data.num}   
        <p style="color:red">您需要发送{$data.num}张票券</p>
    </div>
    <div>出行时间:  {$data.tour_time|date='Y-m-d',###}  
       
    </div>
    <form id="form" action="{:U('addTickets')}" method="post" >
        <br>
        <volist name="num" id="vo">
                    第{$vo.name}票券
                    <input type="text" name="{$vo.name}"> 
                    <br>                 
        </volist>
        <br>
         <br>


        <div >
            <input type="hidden" name="neednum" value="{$data.num}">
            <input type="hidden" name="id" value="{$data.id}">
            <button id="submit" type="submit" >确 定</button>
           
        </div>
    </form>
    

</block>
<block name="script">
<script type="text/javascript">
$(function(){
    $("#action_add").click(function(){
        window.location.href = $(this).attr('url');
    })
})
</script>
</block>


